package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 固定监测点信息表
 * @TableName sys_monitor
 */
@Data
@TableName(value ="sys_monitor")
@ApiModel("固定监测点信息模型")
public class SysMonitor implements Serializable {

    @ApiModelProperty(value = "监测点id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "监测点名称")
    private String monitorName;

    @ApiModelProperty(value = "负责人id")
    private Integer userId;

    @ApiModelProperty(value = "负责人名称")
    private String nickName;

    @TableField(exist = false)
    @ApiModelProperty("路径坐标集合")
    private List<SysRouteAxes>  routeAxesList;

    @TableField(exist = false)
    @ApiModelProperty("固定点类型名称")
    private String typeName;

    @ApiModelProperty(value = "固定点类型")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "状态 0：停用 1：启用")
    private Integer state;

    @ApiModelProperty(value = "中心点纬度")
    private String centreLatitude;

    @ApiModelProperty(value = "中心点经度")
    private String centreLongitude;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}